package com.easybuy.service;

import java.util.List;
import com.easybuy.pojo.User_address;

public interface AddressService {

	//查看地址
    List<User_address> selectAddressByUserId(Integer userId); 
    
    User_address selectAddressById(Integer id);
    
    int	insertNew(User_address address);
    
    int deleteAddress(Integer id);
    
    int updateAddress(User_address address);
    
    //设置默认地址
    int setdefault(Integer id,Integer userId );
    //显示默认地址
    User_address viewdefault(Integer userId);

}
